package com.itm.lqm.entity;

import java.sql.Date;
import java.util.List;

public class Discuss {
	private Integer did;
	private String dcontent;
	private Date dtime;
	private Integer a_id;
	private Integer p_id;
	private Art art;

	public Integer getA_id() {
		return a_id;
	}

	public void setA_id(Integer a_id) {
		this.a_id = a_id;
	}

	public Integer getDid() {
		return did;
	}

	public void setDid(Integer did) {
		this.did = did;
	}

	public String getDcontent() {
		return dcontent;
	}

	public void setDcontent(String dcontent) {
		this.dcontent = dcontent;
	}

	public Date getDtime() {
		return dtime;
	}

	public void setDtime(Date dtime) {
		this.dtime = dtime;
	}

	public Integer getP_id() {
		return p_id;
	}

	public void setP_id(Integer p_id) {
		this.p_id = p_id;
	}

	public Art getArt() {
		return art;
	}

	public void setArt(Art art) {
		this.art = art;
	}

	public Discuss(String dcontent, Date dtime, Integer a_id) {
		super();

		this.dcontent = dcontent;
		this.dtime = dtime;
		this.a_id = a_id;
	}
	

	public Discuss(String dcontent, Date dtime, Integer a_id, Integer p_id) {
		super();
		this.dcontent = dcontent;
		this.dtime = dtime;
		this.a_id = a_id;
		this.p_id = p_id;
	}

	public Discuss() {
		super();
	}

	@Override
	public String toString() {
		return "Discuss [did=" + did + ", dcontent=" + dcontent + ", dtime=" + dtime + ", a_id=" + a_id + ", p_id="
				+ p_id + ", art=" + art + "]";
	}

}
